home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat4
/
resolver.z
/
resolver
Wrap
Text File
|
1998-10-20
|
6KB
|
133 lines
rrrreeeessssoooollllvvvveeeerrrr((((4444)))) rrrreeeessssoooollllvvvveeeerrrr((((4444))))
NNNNAAAAMMMMEEEE
resolver, resolv.conf - host-address resolver configuration file
(DNS/NIS)
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
/etc/resolv.conf
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This file controls the behavior of then _r_e_s_o_l_v_e_r(3N) routines in the C
library. It is read by these routines the first time they are invoked by
a process.
The file is designed to be human readable and contains a list of keywords
with values that provide various types of resolver information. The
keyword and value must appear on a single line, and the keyword (for
example, nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr) must start the line. The value follows the keyword,
separated by white space.
This file is not necessary if there is a name server running on the local
machine and the hostname contains the domain name. It is necessary,
however, if the system administrator wants to override the default
ordering of the host lookup services.
nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr
Internet address (in dot notation) of a name server that the
resolver should query. Up to three of these lines can be
specified; the resolver library queries them in the order
listed. If no nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr entries are present, the default is to
use the name server on the local machine. (The algorithm used
is to try a name server, and if the query times out, try the
next, until out of name servers, then repeat trying all the name
servers until a maximum number of retries are made.) When
specifying a nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr entry for the local machine, use the
address 0 instead of the llllooooccccaaaallllhhhhoooosssstttt address of 127.1.
ddddoooommmmaaaaiiiinnnn Local domain name. Most queries for names within this domain
can use short names relative to the local domain. If no ddddoooommmmaaaaiiiinnnn
entry is present, the domain is determined from the local
hostname returned by _g_e_t_h_o_s_t_n_a_m_e(2); the domain part is taken to
be everything after the first `.'. Finally, if the hostname
does not contain a domain part, the root domain is assumed.
sssseeeeaaaarrrrcccchhhh Search list for host-name lookup. The search list is normally
determined from the local domain name; by default, it begins
with the local domain name, then successive parent domains that
have at least two components in their names. This can be
changed by listing the desired domain search path following the
_s_e_a_r_c_h keyword with spaces or tabs separating the names. Most
resolver queries are attempted using each component of the
search path in turn until a match is found. This process can be
slow and generates a lot of network traffic if the servers for
the listed domains are not local. Queries time out if no server
PPPPaaaaggggeeee 1111
rrrreeeessssoooollllvvvveeeerrrr((((4444)))) rrrreeeessssoooollllvvvveeeerrrr((((4444))))
is available for one of the domains.
The first item in the list becomes the default domain name; the
remaining items are the other domains to search after the
default one.
The ddddoooommmmaaaaiiiinnnn and sssseeeeaaaarrrrcccchhhh keywords are mutually exclusive. If more than one
instance of these keywords is present, the last instance overrides.
ssssoooorrrrttttlllliiiisssstttt
List of preferred networks. The sortlist keyword is followed by a
list of network addresses. On each lookup the address list is
sorted with any address that is in the sortlist moved to the
beginning. Within the list there is no order. The format of the
items of the list is a dotted quad with an optional slash '/' and
netmask.
e.g. sortlist 130.155.160.0/255.255.240.0 130.155.0.0
ooooppppttttiiiioooonnnnssss
A list of resolver options. Currently the only supported option is
nnnnddddoooottttssss which specifies how many dots need to be in a name for the
resolver to attempt to lookup the name as a fully qualified name if
the name does not contain a trailing dot. It is followed by a colon
':' and a number. The default is nnnnddddoooottttssss::::1111.
NNNNOOOOTTTTEEEE
The hhhhoooossssttttrrrreeeessssoooorrrrddddeeeerrrr keyword is now ignored. Resolve order for gethostbyname
and gethostbyaddr is now done in the nsswitch.conf file.
In previous IRIX releases, the _r_e_s_o_l_v._c_o_n_f file was in the /_u_s_r/_e_t_c
directory. In order for pre-IRIX5 binaries that use BIND to work
correctly, a symbolic link from /_e_t_c/_r_e_s_o_l_v._c_o_n_f must be made to the old
name.
FFFFIIIILLLLEEEESSSS
/etc/resolv.conf
SSSSEEEEEEEE AAAALLLLSSSSOOOO
named(1M), gethostbyname(3N), resolver(3N), hostname(5).
nsswitch.conf(3);
_I_R_I_X _A_d_m_i_n: _N_e_t_w_o_r_k_i_n_g _a_n_d _M_a_i_l
PPPPaaaaggggeeee 2222